﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Shell;

namespace Common.Library
{
    public static class AppState
    {
        public static string ApplicationName
        {
            get
            {
                return PhoneApplicationService.Current.State["ApplicationName"].ToString();
            }
            set
            {
                PhoneApplicationService.Current.State["ApplicationName"] = value;
            }
        }

        public static string ShowID
        {
            get
            {
                return PhoneApplicationService.Current.State["ShowID"].ToString();
            }
            set
            {
                PhoneApplicationService.Current.State["ShowID"] = value;
            }
        }
        
        public static string ImagePath
        {
            get
            {
                return PhoneApplicationService.Current.State["ImagePath"].ToString();
            }
            set
            {
                PhoneApplicationService.Current.State["ImagePath"] = value;
            }
        }
        public static string RingtoneStatus
        {
            get
            {
                return PhoneApplicationService.Current.State["RingtoneStatus"].ToString();
            }
            set
            {
                PhoneApplicationService.Current.State["RingtoneStatus"] = value;
            }
        }
      
        public static string searchtitle
        {
            get
            {
                return PhoneApplicationService.Current.State["searchtitle"].ToString();
            }
            set
            {
                PhoneApplicationService.Current.State["searchtitle"] = value;
            }
        }
    }
}
